#include <reg51.h>
#include <stdio.h>
#include "Key_State.h"
#include "GBTimer.h"
#include "KeyScaner.h"
sbit key1=P1^1;
sbit led= P1^2;
void main(void) {
	Timer0Init();
	while(1) {
		if(timeCount == 10) {
			kscanf();
			if(keyState == 6) {
				led = ~led;
			}
			timeCount = 0;
		}
	}
}